package com.xfg.search.utils;

import java.util.ArrayList;
import java.util.List;

public class Parsing {

    public List<String>composition(String word){
        String[] name=word.split("；");
        List<String> names=new ArrayList<>();
        for (String s:name
             ) {
            String realName=s.split(" ")[0];
//            System.out.println(realName);
            names.add(realName);
        }
        return names;
    }

}
